package com.app.web.merchant;

import com.alibaba.fastjson.JSON;
import com.app.base.PoBean;
import com.app.utils.base.j2se.JsonUtil;

import java.util.Map;

/**
 * Description
 * Created by 王伟
 * Date create on 19:24 2019/11/25.
 */
public class Merchant extends PoBean {

    /**
     * 商家名字
     */
    private String name;

    /**
     * 商家简称
     */
    private String shortName;

    /**
     * 商家地址
     */
    private String address;

    /**
     * 商家logo
     */
    private String logo;

    /**
     * 商家类型 1总店 2分店
     */
    private int type;

    /**
     * 商家经纬度
     */
    private String spot;

    /**
     * 成立时间
     */
    private String setUpTime;

    /**
     * 联系电话
     */
    private String tel;

    /**
     * 商家占地面积
     */
    private String area;

    /**
     * 治疗室数量
     */
    private int room1;

    /**
     * 手术室数量
     */
    private int room2;

    /**
     * 简介
     */
    private String desc;

    /**
     * 是否认证 1是 2否
     */
    private int isRecommend;

    /** 商家办事人员openId   可多个，逗号分隔 */
    private String people;

    /** 商家收货信息 */
    private String expressJson;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getSpot() {
        return spot;
    }

    public void setSpot(String spot) {
        this.spot = spot;
    }

    public String getSetUpTime() {
        return setUpTime;
    }

    public void setSetUpTime(String setUpTime) {
        this.setUpTime = setUpTime;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public int getRoom1() {
        return room1;
    }

    public void setRoom1(int room1) {
        this.room1 = room1;
    }

    public int getRoom2() {
        return room2;
    }

    public void setRoom2(int room2) {
        this.room2 = room2;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(int isRecommend) {
        this.isRecommend = isRecommend;
    }

    public String getPeople() {
        return people;
    }

    public void setPeople(String people) {
        this.people = people;
    }

    public Map<String,Object> toMap(){
        return JsonUtil.beanToMap(this);
    }

    public String getExpressJson() {
        return expressJson;
    }

    public void setExpressJson(String expressJson) {
        this.expressJson = expressJson;
    }
}
